Click here to return to the VHDL Reference Guide. | (last edit: 24. september 2012) | |
ReturnA sequential statement which causes execution to be returned from a procedure or function.Syntax[Label:] return; {in procedure} [Label:] return Expression; {in function} Wherefunction-begin-RulesA function must execute a return statement that returns a value consistent with the return type of the function.Examplereturn A + B; See AlsoFunction, Procedure, Expression |